'''
An RPG Modification for Source games using Source Python.

    Copyright (C) 2012 Steven Hartin

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Created on 3 Dec 2012

@author: Steven Hartin
@file: ../sourcerpg/logging/consts.py
'''

from sourcerpg.utils.enum import Enum

__all__ = ["loglevels"]


class LoggingLevels(Enum):
    pass

loglevels = LoggingLevels()

loglevels.CRITICAL_ERROR = 0x0001
loglevels.WARNING = 0x0002
loglevels.DEBUG_TEXT = 0x0004
loglevels.AUTOLOGGING = 0x0008

loglevels.INFO_LEVEL_1 = 0x0010
loglevels.INFO_LEVEL_2 = 0x0020
loglevels.INFO_LEVEL_3 = 0x0040
loglevels.INFO_LEVEL_4 = 0x0080

loglevels.ALL = 0xFFFF

# The default logging value
loglevels.DEFAULT = (loglevels.CRITICAL_ERROR |
                     loglevels.WARNING |
                     loglevels.INFO_LEVEL_1 |
                     loglevels.AUTOLOGGING)
